package com.gsoe.auth.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserRegisterDTO {
    @NotNull
    @Size(min = 3, max = 20)
    private String username;
    @NotNull
    @Size(min = 6)
    private String password;
    @Size(max = 30)
    private String realname;
    private String email;
    private String code;
    private String id;
}
